//
//  MyActivityRecomendModel.h
//  FD
//
//  Created by xiaofang wang on 2019/1/16.
//  Copyright © 2019年 ZhiYuan Network. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MyActivityRecomendModel : NSObject
/**1.icon 拼接上图片前缀*/
@property (nonatomic, copy) NSString *thumbnail;
/**2.有效期*/
@property (nonatomic, strong) NSNumber *activeDate;
/**3.过期时间*/
@property (nonatomic, strong) NSNumber *quietDate;
/**4.标题*/
@property (nonatomic, copy) NSString *title;
/**5.id*/
@property (nonatomic, strong) NSNumber *couponId;

/**user 用于提取里面的receive字段*/
@property (nonatomic, strong) NSDictionary *user;



/**6.是否领取 自定义属性*/
@property (nonatomic, assign) BOOL isReceive;
/**时间字符串 开始时间 自定义属性*/
@property (nonatomic, copy) NSString *activeTimeStr;
/**结束时间字符串 自定义属性*/
@property (nonatomic, copy) NSString *expireTimeStr;
@end

NS_ASSUME_NONNULL_END
//参考数据
/**
 {"event":"SUCCESS","data":[{"thumbnail":"public/a237abff29c14365acddbab58a3ea565","activeDate":1545580800000,"rule":"","id":5,"quietDate":1577721600000,"title":"1元现金券，满3元可用","user":{"receive":1}},{"thumbnail":"public/e375f99c5b784afdb2c97464463e56a1","activeDate":1546876800000,"rule":"","id":7,"quietDate":1547568000000,"title":"sdfdfdf","user":{"receive":0}},{"thumbnail":"public/365bd1f0197a4ed9a193a1abb0d8818b","activeDate":1546272000000,"rule":"","id":8,"quietDate":1548172800000,"title":"dfgerce","user":{"receive":0}}],"describe":""}
 */
